xen/arm: Describe devices supported by a driver with dt_device_match
authorJulien Grall <julien.grall@linaro.org>
Wed, 25 Feb 2015 18:52:57 +0000 (18:52 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Mar 2015 13:55:23 +0000 (13:55 +0000)
commitf9eff198f9d4863e80078a33001a9bb90a99a4b1
tree3d3ee20ce3f2a412d283131b86cdcd3d4b6ae175
parent6a7601b4b2726f7922a856c116834cc725ab7817
xen/arm: Describe devices supported by a driver with dt_device_match

Xen is currently using a list of compatible strings to match drivers again
device nodes. This leads to having double definitions in the GIC
code.

Furthermore Linux drivers are using dt_device_match (actually called
of_device_id in Linux) to list device supported by the drivers.

Remove the exisiting compatible field and replace with a dt_match field

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/device.c
xen/arch/arm/gic-v2.c
xen/arch/arm/gic-v3.c
xen/drivers/char/exynos4210-uart.c
xen/drivers/char/ns16550.c
xen/drivers/char/omap-uart.c
xen/drivers/char/pl011.c
xen/drivers/char/scif-uart.c
xen/include/asm-arm/device.h
xen/include/asm-arm/gic.h